package com.nineclock.approve.service;

import com.nineclock.approve.pojo.ApproveDefinition;

/**
 * 工作流处理的Service接口
 */
public interface ActivitiService {

    /**
     * 部署流程定义到 Activiti
     * @param definition
     */
    public void deployProcessToActiviti(ApproveDefinition definition);

    /**
     * 删除流程部署
     * @param definition
     */
    public void deleteProcessDeployFromActiviti(ApproveDefinition definition);

}
